package com.flowerSystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author 鲜花遇上牛战士
 * @since 2023-08-28
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderPermition implements Serializable {


    private Integer id;

    private String orderNumber;

    private String orderTime;

    private List<Productinformation> productinformation;

    private Integer userId;

    private Integer salesNumber;

    @ApiModelProperty("总金额")
    private Double sumMoney;

    @ApiModelProperty("实际支付金额")
    private Double actuallyMoney;

    @ApiModelProperty("送达时间")
    private String deliverTime;

    @ApiModelProperty("订单状态")
    private String orderStatus;

    private Coupon coupon;
    @ApiModelProperty("收货人")
    private String consignee;
    @ApiModelProperty("收货联系方式")
    private String consigneePhone;
    @ApiModelProperty("收货人地址")
    private String consigneeDetailAddress;

    @ApiModelProperty("逻辑删除字段")
    @TableLogic
    private Integer isDeleted;
}
